package com.ruoyi.binance.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 钉钉通知对象 binance_dingding_message
 * 
 * @author zq
 * @date 2025-08-05
 */
public class BinanceDingdingMessage extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Long id;

    /** 代码 */
    @Excel(name = "代码")
    private String code;

    /** 通知类型：average */
    @Excel(name = "通知类型：average")
    private String messageType;

    /** 信号类型：买入、卖出 */
    @Excel(name = "信号类型：买入、卖出")
    private String signalType;

    /** 通知人：all */
    @Excel(name = "通知人：all")
    private String messageBy;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }

    public void setCode(String code) 
    {
        this.code = code;
    }

    public String getCode() 
    {
        return code;
    }

    public void setMessageType(String messageType) 
    {
        this.messageType = messageType;
    }

    public String getMessageType() 
    {
        return messageType;
    }

    public void setSignalType(String signalType) 
    {
        this.signalType = signalType;
    }

    public String getSignalType() 
    {
        return signalType;
    }

    public void setMessageBy(String messageBy) 
    {
        this.messageBy = messageBy;
    }

    public String getMessageBy() 
    {
        return messageBy;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("code", getCode())
            .append("messageType", getMessageType())
            .append("signalType", getSignalType())
            .append("messageBy", getMessageBy())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .toString();
    }
}
